const userRoute = require('./userRoute')
const groupRoute = require('./groupRoutes')
const generalRoute = require('./generalRoute')
const messageRoute = require('./messageRoute')
const friendRoute = require('./friendRoute')

module.exports = app => {
    app.use('/', generalRoute)
    app.use('/', userRoute)
    app.use('/', groupRoute)
    app.use('/', messageRoute)
    app.use('/', friendRoute)
}